package com.wood.life.mapper;

import com.night.common.entity.life.OrderDetails;

import java.util.List;

/**
 * author: dz
 * 2022-10-20-15:51
 */
public interface OrderDetailsMapper {
    void insert(OrderDetails orderDetails);// 前面public abstract 默认有

    void updateById(OrderDetails orderDetails);

    List<OrderDetails> getByOrderId(int orderId);

    List<OrderDetails> getByGoodsId(int goodsId);
}
